<%@ Page Language="VB" MasterPageFile="~/Presentation/MasterPage.master" AutoEventWireup="false" CodeFile="~/Code/Unfinished.aspx.vb" Inherits="Presentation_Unfinished" title="Untitled Page" %>
<%@ PreviousPageType VirtualPath="~/Default.aspx" %> 
<%@ Register TagName="EasyPage" TagPrefix="Bhagwad" Src="~/UserControls/EasyPage.ascx" %>
<%@ Register Assembly="obout_Calendar2_Net" Namespace="OboutInc.Calendar2" TagPrefix="obout"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainMaster" Runat="Server">

<form runat=server id="Form1">
    <table style="width: 605px">
        <tr>
            <td style="width: 140px">
    Please Enter the Date:</td>
            <td rowspan="3" style="vertical-align: top">
                <obout:calendar id="CalendarPick" runat="server" datepickerimagetooltip="Select the Date" datepickermode="True" textboxid="txtUnfinishedDate" yearmonthformat="MMMM, yyyy" datepickerimagepath="~/Pictures/Calendar.gif" AllowSelectSpecial="False" Columns="1" SpecialDates-Capacity="4" StyleFolder="~/Calendar Styles/orbitz/" DateFormat="dd/MM/yyyy">
        
    </obout:calendar>
            </td>
            <td>
                <asp:TextBox ID="txtUnfinishedDate" runat="server"></asp:TextBox></td>
            <td>
                <asp:CustomValidator ID="cstmvdtxtUnfinishedDate"
                 EnableClientScript =false
                ControlToValidate="txtUnfinishedDate" OnServerValidate ="cstmvdtxtUnfinishedDate_ServerValidate" runat="server" ErrorMessage="Enter a valid Date"
                    Width="118px"></asp:CustomValidator></td>
        </tr>
        <tr>
            <td style="width: 140px">
            </td>
            <td>
                <asp:RequiredFieldValidator ID="rqdvdtxtUnfinishedDate"
                ControlToValidate="txtUnfinishedDate" runat="server" ErrorMessage="Please make an entry"></asp:RequiredFieldValidator></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 140px">
            </td>
            <td>
                <asp:RegularExpressionValidator ControlToValidate="txtUnfinishedDate"
                ValidationExpression="^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$" ID="rgvdtxtUnfinishedDate" runat="server" ErrorMessage="Please Enter the dd/mm/yyyy format"></asp:RegularExpressionValidator></td>
            <td>
            </td>
        </tr>
    </table>
    <Bhagwad:EasyPage ID = "cstmUnfinished" runat=server />
</form>

</asp:Content>

